package com.ftg.learn.chapter17;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * 狼
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/3/27 下午3:59
 */
@Component
@Data
@Primary
public class Wolf implements IWolf{
    @Value("灰太儿郎")
    private String name;

}
